package com.imooc.coupon.service;

import com.imooc.coupon.vo.CouponMessage;
import org.springframework.messaging.Message;

/**
 * <h1>消息消费者接口定义</h1>
 */
public interface IStreamConsumer {

    /**
     * <h2>消费优惠券 消息</h2>
     * */
    void consumeCouponMessage(Message<CouponMessage> message);
}
